﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace IGIS
{
    public partial class mpTaskPanel : System.Web.UI.MasterPage
    {
        //protected ContentPlaceHolder ContentPlace;
        //protected Panel errorMessage;
        //protected Label errorText;
        //protected HtmlForm form1;
        //protected ContentPlaceHolder head;
        //protected ContentPlaceHolder HeaderPlace;
        //protected ToolkitScriptManager masterScriptManager;

        protected void Page_Load(object sender, EventArgs e)
        {
        }

        public void ShowErrorMessage(string message)
        {
            this.ErrorText = message;
            this.ErrorVisible = true;
        }

        public string ErrorText
        {
            get
            {
                return this.errorText.Text;
            }
            set
            {
                this.errorText.Text = value;
            }
        }

        public bool ErrorVisible
        {
            get
            {
                return this.errorMessage.Visible;
            }
            set
            {
                this.errorMessage.Visible = value;
            }
        }
    }
}